package com.kehutong.material.enums;

import org.coraframework.util.HashID;

public enum MaterialType implements HashID {

    WORDS("1", null, "话术库"),
    QUESTION("2", null, "问题库"),
    FILE("3", "file", "文件素材"),
    IMAGE("4", "image", "图片素材"),
    VIDEO("5", "video", "视频素材"),
    SHARE("6", null, "分享素材"),
    GRAPHIC("7", null, "图文素材"),
    MINI_PROGRAM("8", null, "小程序"),
    ;
    
    private final String id;
    private final String name;
    private final String desc;

    private MaterialType(String id, String name, String desc) {
    	this.id = id;
        this.name = name;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }
    
    public String getName() {
		return name;
	}

	@Override
    public String getDesc() {
        return desc;
    }
    
}
